$OpenBSD: patch-src_NetworkInterface_cpp,v 1.2 2016/07/09 12:14:28 sthen Exp $
--- src/NetworkInterface.cpp.orig	Mon Jun 27 20:31:18 2016
+++ src/NetworkInterface.cpp	Sat Jul  9 12:55:43 2016
@@ -699,8 +699,8 @@ bool NetworkInterface::processPacket(const struct bpf_
 				     u_int16_t vlan_id,
 				     struct ndpi_iphdr *iph,
 				     struct ndpi_ipv6hdr *ip6,
-				     u_int16_t ipsize,
-				     u_int16_t rawsize,
+				     u_int32_t ipsize,
+				     u_int32_t rawsize,
 				     const struct pcap_pkthdr *h,
 				     const u_char *packet,
 				     bool *shaped,
